<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html">
<f:view contentType="text/html" />
<h:head>
	<title>Hello World!您好</title>
</h:head>
<h:body bgcolor="white">
	<h2>My name is Duke. What is yours?</h2>
	<h:form id="helloForm">
		<h:graphicImage id="waveImg" url="#{resource['wave.med.gif']}" />
		<h:inputText id="username" value="#{helloBean.name}" />
		<h:commandButton id="submit"
			actionListener="#{testAction.print(helloBean.name)}" value="Submit">
		</h:commandButton>
	</h:form>
        image:
        <h:graphicImage
		url="chart/a?slice=60&amp;slice=300&amp;color=ff0000&amp;color=0000ff&amp;width=100&amp;height=100&amp;background=ffffff" />
	<img
		src="chart/a?slice=60&amp;slice=300&amp;color=ff0000&amp;color=0000ff&amp;width=200&amp;height=200&amp;background=ffffff" />
</h:body>
</html>